﻿<navigation:Page x:Class="ControlTestApplications.Silverlight.Dashboard.AdvertisingSample" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                 xmlns:controls="clr-namespace:Microsoft.Telco.Controls;assembly=Microsoft.Telco.Controls"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="Advertising Control" 
    Style="{StaticResource PageStyle}" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel">
                <controls:AdvertisingControl x:Name="advertControl1" Width="612"
                                                     Height="142"
                                                     BorderBrush="Black"
                                                     BorderThickness="1"
                                                     AdvertisementMode="Text"
                                                     Background="LightGray"
                                                     AutoUpdate="False"
                                                     AdvertisementTextFontSize="20"
                                                     AdvertisementTextForeground="Blue"
                                                     AdvertisementText="Loading..." />
                <controls:AdvertisingControl x:Name="advertControl2" Width="480"
                                                     Margin="0 20 0 0"
                                                     Height="83"
                                                     BorderBrush="Black"
                                                     BorderThickness="1"
                                                     AdvertisementMode="Text"
                                                     Background="LightGray"
                                                     AutoUpdate="False"
                                                     AdvertisementTextFontSize="20"
                                                     AdvertisementTextForeground="Blue"
                                                     AdvertisementText="Loading..." />
                <TextBox Height="142" Name="tbException" Width="302" Margin="0 20 0 0" TextAlignment="Left" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" Background="LightGray" />
            </StackPanel>

        </ScrollViewer>
    </Grid>

</navigation:Page>